package cn.webrx;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Objects;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book {
    private int id;
    private String name;
    private double bookPrice;
    private String author;
    private String publisher;

    public Book(int id, String name) {
        this.id = id;
        this.name = name;
    }

}
